package com.david.equipment.pojo.vo;

import com.david.equipment.pojo.entity.TacticsHisTaskEntity;
import com.david.equipment.pojo.entity.TacticsTaskItems;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.checkerframework.checker.units.qual.A;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

//@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TacticsHisTaskVO {
    private Integer id;
    private Integer tacticsId;
    private String tacticsName;
    private Integer taskId;
    private String code;
    private Integer deptId;
    private Integer deviceId;
    private String deviceName;
    private LocalDate startDate;
    private LocalDate endDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completedTime;
    private Long completedBy; // 完成人
    private String completed; // 0 未完成，1 完成
    private String result;
    private List<TacticsTaskItems> items;
}
